package com.autumn.cloud.demo.consumer;

import com.autumn.cloud.demo.common.annotation.EnableDemoCommon;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;

/**
 * <p>
 * </p>
 *
 * @description TODO
 * @author: 老码农
 * @create: 2020-12-10 18:48
 **/
@SpringBootApplication
@EnableEurekaClient
@EnableDiscoveryClient
// 启用熔断
@EnableHystrix
@EnableDemoCommon
public class RibbonConsumerStartup {

    public static void main(String[] args) {
        SpringApplication.run(RibbonConsumerStartup.class, args);
    }
}
